package com.game.model.role;

import com.game.model.BaseProperty;
import com.game.model.SpecialProperty;
import com.game.model.api.*;

//玩家角色
public class PlayerRole extends Role {
    private RoleType roleType;//角色类型
    private long exp;//经验


    public PlayerRole() {
    }

    public PlayerRole(int id, int level, RoleType roleType, long exp, BaseProperty baseProperty, SpecialProperty specialProperty) {
        super(id,"自己",level,baseProperty,specialProperty,"梦想成为一名王者");
        this.roleType = roleType;
        this.exp = exp;
    }

    public RoleType getRoleType() {
        return roleType;
    }

    public void setRoleType(RoleType roleType) {
        this.roleType = roleType;
    }


    public long getExp() {
        return exp;
    }

    public void setExp(long exp) {
        this.exp = exp;
    }

}
